/**
 * @file MainForm
 *
 * @brief 
 *
 * @author gyzheng
 *
 * @mail gyazheng@gmail.com
 *
 * @date 07/27/2011 22:37:51 
 *
 */

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using CarFrameWork.UI.Common;

namespace CarFrameWork.UI.ProductDesign._3DModelingDesign
{
    public partial class _DDesignFormBase : Form
    {
        public _DDesignFormBase()
        {
            InitializeComponent();
            this.panel1.Height = this.SaveBtn.Height;
            this.trvShuJieGou.Top = this.panel1.Height;
            this.trvShuJieGou.Height = this.Height - this.panel1.Height;
            this.trvShuJieGou.Width = this.Width;
        }

        private void _DDesignFormBase_Load(object sender, EventArgs e)
        {
            this.panel1.Height = this.SaveBtn.Height;
            this.trvShuJieGou.Top = this.panel1.Height;
            this.trvShuJieGou.Height = this.Height - this.panel1.Height;
            this.trvShuJieGou.Width = this.Width;
            this.NewBtn.Enabled = false;
            this.CreateBtn.Enabled = false;
        }

        private void _DDesignFormBase_Paint(object sender, PaintEventArgs e)
        {
            this.panel1.Height = this.SaveBtn.Height;
            this.trvShuJieGou.Top = this.panel1.Height;
            this.trvShuJieGou.Height = this.Height - this.panel1.Height;
            this.trvShuJieGou.Width = this.Width;
        }
    }
}